home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C++ / Applications / nanoInstall 1.0 / source / standardputfile.cp < prev    next >
Text File  |  1996-07-05  |  549b  |  31 lines

  1.  
  2. #include <Finder.h>
  3. #include <StandardFile.h>
  4. #include <Threads.h>
  5.  
  6. #include "standardfile_.h"
  7. #include "standardputfile.h"
  8.  
  9. standardputfile::standardputfile( ConstStr255Param prompt, short dlogID)
  10.     : standardfile( dlogID)
  11.     , the_prompt( prompt)
  12. {
  13. }
  14.  
  15. standardputfile::~standardputfile()
  16. {
  17. }
  18.  
  19. Boolean standardputfile::doIt( ConstStr255Param defaultName)
  20. {
  21.     Point where = { -1, -1};
  22.  
  23.     CustomPutFile( the_prompt, defaultName,
  24.             (StandardFileReply *)this, DLOG_ID, where,
  25.             0L, 0L,
  26.             0L, 0L,
  27.             (void *)this    // Ptr yourDataPtr
  28.     );
  29.     return sfGood;
  30. }
  31.